package tcp;


import java.net.ServerSocket;
import java.net.Socket;

public class TcpMulServer {
	public static void main(String[] args) throws Exception {
		ServerSocket serverSocket = new ServerSocket(4444);
		String breakServer="ss";
		while (!(breakServer.equals("exitServer"))) {
			Socket socket = serverSocket.accept();
			new Thread(new Chater(socket)).start();;
	
		}
		serverSocket.close();
	}

}
